/*
 * Copyright (c) 2025 EasyAdmin
 * All rights reserved.
 *
 * This file is part of the [EasAdmin] project.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 * Proprietary and confidential.
 *
 * Author: EasyAdmin ( 1073602@qq.com )
 * Website: https://www.xhxiao.com
 */
package com.easy.module.log.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easy.module.log.entity.SysLoginLog;
import org.apache.ibatis.annotations.Update;

/**
 * 登录日志Mapper接口
 * 
 * @author Yang Huijing (Email:1073602@qq.com)
 * @date 2024-11-10
 */
public interface SysLoginLogMapper extends BaseMapper<SysLoginLog>
{

    /**
     * 清空登录日志
     *
     * @return 结果
     */
    @Update("truncate table sys_login_log")
    int clean();

}
